
var config = $.extend(true, {}, listApp, {
    data : {
        service : regService,
        defaultLoad: false
    },
    methods : {
        init:function () {
            var _this=this;
            this.service.getReg({
                success : function(ret) {
                    _this.editVm.data=ret;
                },
                fail : function(res) {
                    _this.showFailMsg(res.msg);
                }
            })
        },
        saveSuccess:function(){
            this.showSuccessMsg("注册成功");
            top.location.href=top._CTX+"/";
        }
    }
});
var app = new Vue(config);